#ifndef _KCS0024_KUnpacker_h__
#define _KCS0024_KUnpacker_h__

#include "../IUnpackager.h"
#include "../IUnpackagerUI.h"
#include "../error.h"

using namespace KUSI;

#include <afx.h>

class KViewBase;

namespace KCS0024
{
	class KUnpacker : public IUnpackager
	{
	public:
		KUnpacker(void);
		~KUnpacker(void);

		virtual bool Init(IUnpackagerUI* pkUI);
		virtual int Unpack(const wchar_t* pwszSourcePackagePath,
			const wchar_t* pwszDestPath);
		HANDLE GetData(HANDLE *phSrcFile, DWORD *pdwFileLength,
			TCHAR *pchDestDir);
		bool SetData(HANDLE hSrcFile, HANDLE hDestFile, DWORD dwFileLength);

	};
}


#endif // KUnpacker_h__